h5gg.require(7.8); //min version

//ModuleFileName: like "UnityFramework", or 0 for main executable
var modules = h5gg.getRangesList("smoba");

var base = modules[0].start;
// alert('0x' + base.toString(16));
// alert(base);

var addr = Number(base) + 0xc4d5818; //add offset
alert(addr);
var pointer = h5gg.getValue(addr, "U64");
alert(pointer);
var addr1 = Number (pointer) + 0xa0;

var pointer1 = h5gg.getValue(addr1, "U64");

var addr2 = Number (pointer1) + 0x28;
var value = h5gg.getValue(addr2, "F32");

alert("read value=" + value);
//must convert to Number type, then we can do + calc or convert to hex via toString(16)
// pointer = Number(pointer);

// alert('0x'+pointer.toString(16));


